package com.rajeshDyadav.spring.ioc.example02;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {

    public static void main(String[] args) {
	ApplicationContext applicationContext = new ClassPathXmlApplicationContext("/com/rajeshDyadav/spring/ioc/example02/context.xml");
	Inject demo = (Inject) applicationContext.getBean("mybean");
	System.out.println(demo);
    }
}